package com.tanhua.server.exception;

import com.tan.model.domain.ErrorResult;
import lombok.Data;

@Data
public class BusinessException extends RuntimeException{
    private ErrorResult errorResult;
    public BusinessException(ErrorResult errorResult) {
        this.errorResult = errorResult;
    }


}
